<?php
class HorasSol extends AppModel {

	var $name = 'HorasSol';
	var $primaryKey = 'id_horas_sol';
	var $validate = array(
		'id_cidade' => array('notempty'),
		'ano' => array('notempty'),
		'mes' => array('notempty'),
		'horas' => array('notempty'),
		'clima' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'FKIndexHorasSolInfoCidadeId' => array(
			'className' => 'Informacaocidade',
			'foreignKey' => 'id_cidade',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>